from django.http import JsonResponse

CAPTCHA_ERROR = JsonResponse({"state": -1, "message": "验证码错误"})
USERNAME_EXIST = JsonResponse({"state": -1, "message": "用户名已被占用"})
SERVER_ERROR = JsonResponse({"state": -1, "message": "服务异常"})
SUCCESS_REGISTRY = JsonResponse({"state": 1, "message": "注册成功"})
